<?php use_stylesheet('jobs.css') ?>
<h1>xxxxxxxxxxJobeet jobs List</h1>

<table class="jobs">
  <tbody>
    <?php foreach ($jobeet_jobs as $i => $job): ?>
    <tr class="<?php echo fmod($i, 2) ? 'even' : 'odd'; ?>">
      <td class="location"><?php echo $job->getLocation() ?></td>
      <td class="position"><a href="<?php 
      echo url_for('job/show?id='.$job->getId()."&company=".$job->getCompany()."&location=".$job->getLocation()."&position=".$job->getPosition() ) 
      ?>"><?php echo $job->getId() ?></a></td>
      <td class="position"><a href="<?php echo url_for('@default?module=job&action=show&id='.$job->getId()) ?>"><?php echo $job->getId() ?></a></td>
      <td class="position"><a href="<?php echo url_for( array (
      'module' => 'job',
      'action' => 'show',
      'id' => $job->getId(),
      'location' => $job->getLocation(),
      'position' => $job->getPosition(),
      'company' => $job->getCompany()
      )
      ) ?>"><?php echo $job->getId() ?></a></td>
      <td class="position">---- <a href="<?php echo url_for('job_show_user', $job)
      ?>"><?php echo $job->getId() ?></a></td>
      <td class="company"><?php echo $job->getCompany() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

  <a href="<?php echo url_for('job/new') ?>">New</a>
